#include <stdio.h>
int main() {
    int gender = 0, height = 0,weight = 0;
    printf("请输入性别,身高，体重：");
    scanf("%d%d%d",&gender,&height, &weight);
    printf("%d\n",(gender == 0 && weight < (height - 110)) || (gender == 1 && weight < (height - 105)));
    return 0;
}
